<?php
include_once('ClsSebent/config.php');
$qry="select * from temp_product where id=".$id;
$rs=mysql_query($qry);
$row=mysql_fetch_array($rs);
?><style type="text/css">
<!--
body,td,th {
	color: #FFFFFF;
}
body {
	background-color: #000000;
}
-->
</style>
<table width="387" height="251" border="0" align="center">
  <tr>
    <td colspan="2"><h2 align="center">Proposed Product Details </h2></td>
  </tr>
  <tr>
    <td colspan="2"><div align="center"><img src="./photos/Temp_products/<?php echo $id."_".$row['product_img'];?>" width="175" height="175" alt="<?php echo $row['product_img_alt'];?>"/></div></td>
  </tr>
  <tr>
    <td width="114">Product Title </td>
    <td width="263"><?php echo $row['product_title'];?></td>
  </tr>
  <tr>
    <td>Product Category </td>
    <td><?php echo $row['product_category'];?></td>
  </tr>
  <tr>
    <td>Product Price </td>
    <td><?php echo $row['product_price'];?></td>
  </tr>
  <tr>
    <td>Size</td>
    <td><?php echo $row['size'];?></td>
  </tr>
  <tr>
    <td>Color</td>
    <td bgcolor="#<?php echo $row['color'];?>"><?php echo $row['color'];?></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="button" name="Button" value="Approve Product" onclick="window.opener.location.href='page_products.php?site_id=101&tmp_id=<?php echo $id;?>'; window.close('prod_det.php');"/>
    <input type="button" name="Button2" value="Delete" onclick="javascript: window.open('del_tmp_prod.php?id=<?php echo $id;?>','','target=_blank'); window.opener.location.href='proposed_prod.php?site_id=101'; window.close('prod_det.php');"/></td>
  </tr>
</table>


